{% extends "pages/auth/_layout.html" %} {% from "components/macros.html" import submit_button %} {% from "components/auth_macros.html" import auth_field, auth_banner %} {% block title %}Create an account - {{ project_name }}{% endblock %} {% block auth_form %}

Create an account

It takes a moment.

{# Native form POST for the same reason as /login: it is what makes the browser offer to save the new password. `autocomplete="new-password"` is what tells it this is a signup rather than a sign-in. #}
{% if next %}{% endif %} {{ auth_banner("error") }} {{ auth_field("full_name", "Name", autocomplete="name", required=False, placeholder="Ada Lovelace") }} {{ auth_field("email", "Email", type="email", autocomplete="username", placeholder="you@domain.com") }} {{ auth_field("password", "Password", type="password", autocomplete="new-password", minlength=8, placeholder="At least 8 characters") }} {{ submit_button("Create account", "Creating…") }}
{% endblock %} {% block auth_footer %} Already have an account? Sign in. {% endblock %}